
local bass = require 'bindings.bass'
local guac = require 'guac'

if (bass.Init(-1, 44100, 0, nil, nil) ~= 1) then
	error("unable to initialize BASS")
end

guac.onshutdown(function()
  bass.Free()
end)
